#include <bits/stdc++.h>

using namespace std;

int t, n, m, L, V;
vector<int> d, v, a, p;

int main(){
    freopen("detect.in", "r", stdin);
    freopen("detect.out", "w", stdout);
    cin >> t;
    while (t--){
        for(int i = 0; i < n; i++){
            int cd, cv, ca;
            cin >> cd >> cv >> ca;
            d.push_back(cd);
            v.push_back(ca);
            a.push_back(ca);
        }
        for(int i = 0; i < m; i++){
            int cp;
            cin >> cp;
            p.push_back(cp);
        }
        for(int i = 0; i < n; i++){
            int cd, cv, ca;
            cd = d[i];
            cv = v[i];
            ca = a[i];
            // for(int j = 0; j < p.size(); j++){
                
            // }
        }
    }
    cout << "shaisssssssssssssse" << endl;
    return 0;
}